\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1UploadPolicy}{\section{\-Rest\-A\-P\-I.\-amazon.\-S3.\-Upload\-Policy \-Class \-Reference}
\label{classRestAPI_1_1amazon_1_1S3_1_1UploadPolicy}\index{\-Rest\-A\-P\-I.\-amazon.\-S3.\-Upload\-Policy@{\-Rest\-A\-P\-I.\-amazon.\-S3.\-Upload\-Policy}}
}


\-The \-Configuration of a upload form.  


\-Inheritance diagram for \-Rest\-A\-P\-I.\-amazon.\-S3.\-Upload\-Policy\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classRestAPI_1_1amazon_1_1S3_1_1UploadPolicy}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1UploadPolicy_ac21bfa878e34defb188cb59b784932ef}{def {\bfseries \-\_\-\-\_\-init\-\_\-\-\_\-}}\label{classRestAPI_1_1amazon_1_1S3_1_1UploadPolicy_ac21bfa878e34defb188cb59b784932ef}

\item 
def \hyperlink{classRestAPI_1_1amazon_1_1S3_1_1UploadPolicy_ac113e06d816ef683be966a1177bd695a}{expires}
\begin{DoxyCompactList}\small\item\em \-Set up the expiration time of the upload policy. \end{DoxyCompactList}\item 
def \hyperlink{classRestAPI_1_1amazon_1_1S3_1_1UploadPolicy_a6814fd08f1217207328fd113ab618dd9}{condition}
\begin{DoxyCompactList}\small\item\em \-Set up the constraint condition for uploading contents. \end{DoxyCompactList}\item 
\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1UploadPolicy_af1373ffd8e5492cda19c601f0877246f}{def {\bfseries json}}\label{classRestAPI_1_1amazon_1_1S3_1_1UploadPolicy_af1373ffd8e5492cda19c601f0877246f}

\item 
\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1UploadPolicy_ac7589069bc9702a3a2a6295a9de6b83a}{def {\bfseries encoded}}\label{classRestAPI_1_1amazon_1_1S3_1_1UploadPolicy_ac7589069bc9702a3a2a6295a9de6b83a}

\item 
def \hyperlink{classRestAPI_1_1amazon_1_1service_1_1AWSConfiguration_a4683d9d74953a88fa88139138acf338f}{headers}
\begin{DoxyCompactList}\small\item\em \-Returns the request headers need to be added to the \-A\-W\-S request. \end{DoxyCompactList}\item 
def \hyperlink{classRestAPI_1_1amazon_1_1service_1_1AWSConfiguration_a29a95f6203ff8126fdfae6936a768e40}{content}
\begin{DoxyCompactList}\small\item\em \-Returns the request body need to be sent through \-A\-W\-S requests. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1UploadPolicy_a48850fb1dc83e58ce9f64dfde01018f1}{{\bfseries policy}}\label{classRestAPI_1_1amazon_1_1S3_1_1UploadPolicy_a48850fb1dc83e58ce9f64dfde01018f1}

\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-The \-Configuration of a upload form. 

\subsection{\-Member \-Function \-Documentation}
\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1UploadPolicy_a6814fd08f1217207328fd113ab618dd9}{\index{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Upload\-Policy@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Upload\-Policy}!condition@{condition}}
\index{condition@{condition}!RestAPI::amazon::S3::UploadPolicy@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Upload\-Policy}}
\subsubsection[{condition}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf \-Rest\-A\-P\-I.\-amazon.\-S3.\-Upload\-Policy.\-condition} (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{key, }
\item[{}]{relationship, }
\item[{}]{value}
\end{DoxyParamCaption}
)}}\label{classRestAPI_1_1amazon_1_1S3_1_1UploadPolicy_a6814fd08f1217207328fd113ab618dd9}


\-Set up the constraint condition for uploading contents. 

\-Format\-: key ? value \-The relationship could be\-: == or eq or exact \-: exact match the value of key and the given value.. $\sim$= or start-\/with \-: match whether the value starts with the given value.\-The given value must be a string. between \-: check if the value of the key is between the given range. \-The given value must be a two element turple. \hypertarget{classRestAPI_1_1amazon_1_1service_1_1AWSConfiguration_a29a95f6203ff8126fdfae6936a768e40}{\index{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Upload\-Policy@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Upload\-Policy}!content@{content}}
\index{content@{content}!RestAPI::amazon::S3::UploadPolicy@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Upload\-Policy}}
\subsubsection[{content}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf \-Rest\-A\-P\-I.\-amazon.\-service.\-A\-W\-S\-Configuration.\-content} (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inherited\mbox{]}}}}\label{classRestAPI_1_1amazon_1_1service_1_1AWSConfiguration_a29a95f6203ff8126fdfae6936a768e40}


\-Returns the request body need to be sent through \-A\-W\-S requests. 



\-Reimplemented in \hyperlink{classRestAPI_1_1amazon_1_1S3_1_1VersionControl_ae76dd376699b52a0b9de215f47793da3}{\-Rest\-A\-P\-I.\-amazon.\-S3.\-Version\-Control}, \hyperlink{classRestAPI_1_1amazon_1_1S3_1_1BucketLogging_a28b00b511c62b0122a6c30e5777b2ad8}{\-Rest\-A\-P\-I.\-amazon.\-S3.\-Bucket\-Logging}, and \hyperlink{classRestAPI_1_1amazon_1_1S3_1_1LifeCycleRules_aa30745478c6bbb3daa1ba693a442c45a}{\-Rest\-A\-P\-I.\-amazon.\-S3.\-Life\-Cycle\-Rules}.

\hypertarget{classRestAPI_1_1amazon_1_1S3_1_1UploadPolicy_ac113e06d816ef683be966a1177bd695a}{\index{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Upload\-Policy@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Upload\-Policy}!expires@{expires}}
\index{expires@{expires}!RestAPI::amazon::S3::UploadPolicy@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Upload\-Policy}}
\subsubsection[{expires}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf \-Rest\-A\-P\-I.\-amazon.\-S3.\-Upload\-Policy.\-expires} (
\begin{DoxyParamCaption}
\item[{}]{self, }
\item[{}]{offset = {\ttfamily '1~hour'}}
\end{DoxyParamCaption}
)}}\label{classRestAPI_1_1amazon_1_1S3_1_1UploadPolicy_ac113e06d816ef683be966a1177bd695a}


\-Set up the expiration time of the upload policy. 

\hypertarget{classRestAPI_1_1amazon_1_1service_1_1AWSConfiguration_a4683d9d74953a88fa88139138acf338f}{\index{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Upload\-Policy@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Upload\-Policy}!headers@{headers}}
\index{headers@{headers}!RestAPI::amazon::S3::UploadPolicy@{\-Rest\-A\-P\-I\-::amazon\-::\-S3\-::\-Upload\-Policy}}
\subsubsection[{headers}]{\setlength{\rightskip}{0pt plus 5cm}def {\bf \-Rest\-A\-P\-I.\-amazon.\-service.\-A\-W\-S\-Configuration.\-headers} (
\begin{DoxyParamCaption}
\item[{}]{self}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inherited\mbox{]}}}}\label{classRestAPI_1_1amazon_1_1service_1_1AWSConfiguration_a4683d9d74953a88fa88139138acf338f}


\-Returns the request headers need to be added to the \-A\-W\-S request. 



\-Reimplemented in \hyperlink{classRestAPI_1_1amazon_1_1S3_1_1VersionControl_ade9eec662e9081f233a4cc017a971515}{\-Rest\-A\-P\-I.\-amazon.\-S3.\-Version\-Control}.



\-The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
amazon/\-S3.\-py\end{DoxyCompactItemize}
